<template>
  <div id="app">
    <h1>组件的二次封装</h1>
    <router-link to="/demo">demo</router-link>
    <router-link to="/template">template</router-link>
    <router-link to="/render">render</router-link>    
    <router-view />
  </div>
</template>

<script>

export default {
  name: 'app',
  components: {
  }
}
</script>

<style>
#app {
  text-align: center;
}
#app a {
  margin: 5px 10px;
  padding: 2px;
  text-decoration: none;
}
#app a.router-link-active {
  border: 1px solid blueviolet;
}
</style>
